import TrainingGenre from './trainingGenre.vue'
import TrainingGenreSearch from './trainingGenreSearch.vue'
import TrainingGenreEdit from './trainingGenreEdit.vue'
import TrainingGenreAdd from './trainingGenreAdd.vue'
import TrainingGenreView from './trainingGenreView.vue'

const components = [
  TrainingGenre,
  TrainingGenreSearch,
  TrainingGenreEdit,
  TrainingGenreAdd,
  TrainingGenreView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}

export default main
